-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backend/rs: delay client cleanup #772
Conversation
delay client cleanup until the state lock is dropped to prevent potential deadlocks in drop impls of the client state.
3cef0cf
to
b07d3f3
Compare
2ff8a99
to
50bb662
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #772 +/- ##
==========================================
+ Coverage 72.54% 74.08% +1.54%
==========================================
Files 41 46 +5
Lines 6516 7757 +1241
==========================================
+ Hits 4727 5747 +1020
- Misses 1789 2010 +221
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a reasonable way to avoid the deadlock here.
delay client cleanup until the state lock is dropped to prevent potential deadlocks in drop impls of the client state.